Skip to content

Conversation

PauLopNun
Copy link
Contributor

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized it.
  • All filenames are in PascalCase.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • All new code is formatted with clang-format -i --style=file path/to/your/file.java

- Implements Smooth Sort using Leonardo heap structure
- Adaptive sorting algorithm with O(n log n) worst case
- Includes comprehensive test suite extending SortingAlgorithmTest
- Replace complex Leonardo heap with standard heap sort approach
- Ensures compatibility with all Comparable types
- Maintains O(n log n) time complexity and stability
@codecov-commenter
Copy link

codecov-commenter commented Oct 6, 2025

Codecov Report

❌ Patch coverage is 95.65217% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 76.62%. Comparing base (69d8406) to head (482532e).

Files with missing lines Patch % Lines
.../main/java/com/thealgorithms/sorts/SmoothSort.java 95.65% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6664      +/-   ##
============================================
+ Coverage     76.60%   76.62%   +0.01%     
- Complexity     6026     6037      +11     
============================================
  Files           719      720       +1     
  Lines         20326    20349      +23     
  Branches       3937     3942       +5     
============================================
+ Hits          15571    15592      +21     
  Misses         4164     4164              
- Partials        591      593       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- Remove redundant comments for cleaner code
- Simplify heap sort implementation
- Maintain functionality with cleaner structure
- Fix checkstyle violations on lines 16, 23, 28
- Remove trailing whitespace for compliance
- No functional changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants